package com.ikun.admin.modules.gen.vo;

import com.ikun.admin.modules.gen.service.CodeConfigService;
import com.ikun.admin.modules.gen.service.impl.CodeConfigServiceImpl;
import com.ikun.common.search.annotation.ResultUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName TableListResultVp
 * @Description:
 * @CreateDate: 2024/4/16 15:08
 */
@Data
@ApiModel("table分页返回值vo")
public class TableListResultVo {
    private Long id;

    @ApiModelProperty("中文名")
    private String tableName;

    @ApiModelProperty("英文名")
    private String tableValue;

    @ApiModelProperty("备注")
    private String remark;

    @ResultUtil(listEntityPropName = "codeConfigId", resultListEntityPropName = "configName", resultListUsedService = CodeConfigService.class)
    @ApiModelProperty("配置名")
    private String configName;


    @ApiModelProperty("状态(0待创建 1已建表 2 已生成)")
    private Integer status;
}
